<table align="center" width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="100%" align="center">
      <table width="500px"  bordercolor='red'  border="1" cellspacing="4" cellpadding="0" class="box_inner_body">
        <tr>
          <td><h1><{$msg_title}></h1></td>
        </tr>
        <tr>
          <td>
			<div style="padding:10px;text-align:left;font-size:24px;"><{$msg}> <br /><br />
			<span style="color:red;width:50%;" id='sec'><{$time_refresh}></span> 秒后自动跳转....
			<a id="hr" href="<{$location}>"><{$url}></a>
			</div>
		</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
{literal}
<script>

		 		var seco=document.getElementById("sec");
		 		var nav=document.getElementById("hr");
		 		var time=seco.innerHTML;
				var tt=setInterval(function(){
						time--;
						seco.innerHTML=time;	
						if(time<=1){
							window.location.href=nav.href;
							return;
						}
					}, 1000);
		

</script>
{/literal}
